<table border="0">
<?if($_GET['gid'] or $_POST['search']) {?>
<tr>
	<td><a href="index.php?module=admin&amp;action=users"><?echo($GLOBALS['lang']['global']['all']);?></a></td>
</tr>
<?}?>
<tr>
     <form method="post" action="index.php?module=admin&amp;action=users"><td><input type="text" name="search" class="button" value="<?echo($_POST['search']);?>"> <input type="submit" class="button" value="<?echo($lang['search']);?>"></td></form>
</tr>  
<tr>
	  <td><small><?echo($GLOBALS['lang']['global']['hint_search']);?></small></td>
</tr>
</table>
<table border="0" width="100%" class="tabelka2">
<tr>
    <td align="center" class="row_3"><a href="index.php?module=admin&action=users&sortby=id&sort={sortnext}&amp;search=<?echo($_post['search']);?>">id</a></td>
    <td align="center" class="row_3"><a href="index.php?module=admin&action=users&sortby=login&sort={sortnext}&amp;search=<?echo($_post['search']);?>"><?echo($GLOBALS['lang']['users']['login']);?></a></td>
    <td align="center" class="row_3"><a href="index.php?module=admin&action=users&sortby=gid&sort={sortnext}&amp;search=<?echo($_post['search']);?>"><?echo($lang['group']);?></a></td>
	<td align="center" class="row_3"><a href="index.php?module=admin&action=users&sortby=reg_date&sort={sortnext}&amp;search=<?echo($_post['search']);?>"><?echo($lang['regdate']);?></a></td>
	<td align="center" class="row_3"><a href="index.php?module=admin&action=users&sortby=active&sort={sortnext}&amp;search=<?echo($_post['search']);?>"><?echo($lang['user_active']);?></a></td>	  
    <td align="center" class="row_3"><?echo($lang['admin_edit_rem']);?></td>
</tr>
